var http = require('http');


http.createServer(function(req, res) {
    console.log("request",req.url)
    res.write("test")
    res.end();
}).listen(3005);

// 控制台会输出以下信息
console.log('Server running at http://127.0.0.1:3002/');